<? Phpr_View::beginBlock("view") ?>
	<ul class="breadcrumbs">
		<li><a href="<?= url('/shop/customers') ?>">Customers</a></li>
		<li><a href="<?= url('/shop/customer_groups') ?>">Customer Groups</a></li>
		<li><?= $this->app_page_title ?></li>
	</ul>
	
	<?= flash() ?>

	<? if (!isset($fatalError)): ?>
		<div class="form500">
			<?= Phpr_Form::openTag() ?>
				<? $this->formRender() ?>

				<?= backend_ajax_button('Create', 'create_onSave') ?>
				<?= backend_ajax_button('Cancel', 'create_onCancel') ?>

				<div class="clear"></div>
			</form>
		</div>
	<? else: ?>
		<p><a href="<?= url('/shop/customer_groups') ?>">Return to the customer group list</a></p>
	<? endif ?>
<? Phpr_View::endBlock() ?>